package com.sap.sap_mangers.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @author AdongYi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SapImage {

    private long imageId;
    private String imageIdForStr;
    private String imageUrl;
    private String imageUsername;
    private String imageName;
    private java.sql.Timestamp imageCreateTime;
    private long imageAudit;
    private String imageManagerUsername;
    private String imageManagerName;
    private java.sql.Timestamp imageManagerTime;

    public SapImage(String imageUsername, String imageName, Timestamp imageCreateTime, long imageAudit) {
        this.imageUsername = imageUsername;
        this.imageName = imageName;
        this.imageCreateTime = imageCreateTime;
        this.imageAudit = imageAudit;
    }

    public SapImage(String imageManagerUsername, String imageManagerName, Timestamp imageManagerTime) {
        this.imageManagerUsername = imageManagerUsername;
        this.imageManagerName = imageManagerName;
        this.imageManagerTime = imageManagerTime;
    }
}
